
import React,{Component} from 'react';
import {
    StyleSheet,
    Text,
    View,
    ScrollView,
    ImageBackground,
    TouchableOpacity,
    Image,
    Platform
} from 'react-native';


import {BaseStyle,demension} from '../../Style/BaseStyle.js';

import {navigationMethod,headerRights} from "../../Utils/NavigatorCommon";

export default class Searcher extends Component
{
    static navigationOptions = ((props)=>{
        return{
            ...navigationMethod,
            headerRight:headerRights(()=>{
                console.warn(props)
            },"message")
        }
    })
    constructor(props) {
        super(props);
        this.state={
            paused:false
        }
    }

    render(){
        const navigator=this.props.navigation.navigate,vm=this;

        return(
            <ScrollView style={styles.container} showsVerticalScrollIndicator={false}>
                <View>

                    <Text>搜索</Text>
                </View>
            </ScrollView>
        )
    }

}

const styles=StyleSheet.create({
    ...BaseStyle,
    banners:{
        width:demension.width,
        height:170
    },
    videos:{

        width:demension.width-20,
        height:198
    },
    iconParent:{
        ...BaseStyle.commonPadding10,
        ...BaseStyle.flexCommon
    },
    videoIcon:{
        width:60,
        height:60
    }
})
